home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / iff.h < prev    next >
C/C++ Source or Header  |  1997-08-03  |  3KB  |  79 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_IFF_H
  4. #define _INLINE_IFF_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef IFF_BASE_NAME
  11. #define IFF_BASE_NAME IFFBase
  12. #endif /* !IFF_BASE_NAME */
  13.  
  14. #define IFFL_CloseIFF(ifffile) \
  15.     LP1NR(0x24, IFFL_CloseIFF, IFFL_HANDLE, ifffile, a1, \
  16.     , IFF_BASE_NAME)
  17.  
  18. #define IFFL_CompressBlock(source, destination, size, mode) \
  19.     LP4(0x90, ULONG, IFFL_CompressBlock, APTR, source, a0, APTR, destination, a1, ULONG, size, d0, ULONG, mode, d1, \
  20.     , IFF_BASE_NAME)
  21.  
  22. #define IFFL_DecodePic(ifffile, bitmap) \
  23.     LP2(0x3c, BOOL, IFFL_DecodePic, IFFL_HANDLE, ifffile, a1, struct BitMap *, bitmap, a0, \
  24.     , IFF_BASE_NAME)
  25.  
  26. #define IFFL_DecompressBlock(source, destination, size, mode) \
  27.     LP4(0x96, ULONG, IFFL_DecompressBlock, APTR, source, a0, APTR, destination, a1, ULONG, size, d0, ULONG, mode, d1, \
  28.     , IFF_BASE_NAME)
  29.  
  30. #define IFFL_FindChunk(ifffile, chunkname) \
  31.     LP2(0x2a, void                *, IFFL_FindChunk, IFFL_HANDLE, ifffile, a1, LONG, chunkname, d0, \
  32.     , IFF_BASE_NAME)
  33.  
  34. #define IFFL_GetBMHD(ifffile) \
  35.     LP1(0x30, struct IFFL_BMHD    *, IFFL_GetBMHD, IFFL_HANDLE, ifffile, a1, \
  36.     , IFF_BASE_NAME)
  37.  
  38. #define IFFL_GetColorTab(ifffile, colortable) \
  39.     LP2(0x36, LONG, IFFL_GetColorTab, IFFL_HANDLE, ifffile, a1, WORD *, colortable, a0, \
  40.     , IFF_BASE_NAME)
  41.  
  42. #define IFFL_GetViewModes(ifffile) \
  43.     LP1(0x54, ULONG, IFFL_GetViewModes, IFFL_HANDLE, ifffile, a1, \
  44.     , IFF_BASE_NAME)
  45.  
  46. #define IFFL_IFFError() \
  47.     LP0(0x4e, LONG, IFFL_IFFError, \
  48.     , IFF_BASE_NAME)
  49.  
  50. #define IFFL_ModifyFrame(modifyform, bitmap) \
  51.     LP2(0x60, BOOL, IFFL_ModifyFrame, void *, modifyform, a1, struct BitMap *, bitmap, a0, \
  52.     , IFF_BASE_NAME)
  53.  
  54. #define IFFL_OpenIFF(filename, mode) \
  55.     LP2(0x78, IFFL_HANDLE, IFFL_OpenIFF, char *, filename, a0, ULONG, mode, d0, \
  56.     , IFF_BASE_NAME)
  57.  
  58. #define IFFL_PopChunk(iff) \
  59.     LP1(0x84, LONG, IFFL_PopChunk, IFFL_HANDLE, iff, a0, \
  60.     , IFF_BASE_NAME)
  61.  
  62. #define IFFL_PushChunk(iff, type, id) \
  63.     LP3(0x7e, LONG, IFFL_PushChunk, IFFL_HANDLE, iff, a0, ULONG, type, d0, ULONG, id, d1, \
  64.     , IFF_BASE_NAME)
  65.  
  66. #define IFFL_SaveBitMap(name, bmap, ctab, crmd) \
  67.     LP4(0x42, BOOL, IFFL_SaveBitMap, char *, name, a0, struct BitMap *, bmap, a1, WORD *, ctab, a2, LONG, crmd, d0, \
  68.     , IFF_BASE_NAME)
  69.  
  70. #define IFFL_SaveClip(name, bmap, ctab, crmd, x, y, w, h) \
  71.     LP8(0x48, BOOL, IFFL_SaveClip, char *, name, a0, struct BitMap *, bmap, a1, WORD *, ctab, a2, LONG, crmd, d0, LONG, x, d1, LONG, y, d2, LONG, w, d3, LONG, h, d4, \
  72.     , IFF_BASE_NAME)
  73.  
  74. #define IFFL_WriteChunkBytes(iff, buf, size) \
  75.     LP3(0x8a, LONG, IFFL_WriteChunkBytes, IFFL_HANDLE, iff, a0, void *, buf, a1, LONG, size, d0, \
  76.     , IFF_BASE_NAME)
  77.  
  78. #endif /* !_INLINE_IFF_H */
  79.